package com.edu.dubbo.service;

import com.alibaba.dubbo.container.Main;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Created by Administrator on 2017/6/17.
 */
public class MainDemo {
    public static void main(String[] args) {

        Main.main(args);
        /*ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
                new String[] { "classpath:META-INF/spring/product-provider.xml" });

        context.start();
        System.out.println("按任意键退出");
        try {
            System.in.read();
        } catch (IOException e) {
            e.printStackTrace();
        }*/
    }
}
